package com.hopu.service.Impl;

import com.hopu.mapper.DjsfMapper;
import com.hopu.mapper.DjtfMapper;
import com.hopu.pojo.Djsf;
import com.hopu.pojo.Djtf;
import com.hopu.service.DjsfService;
import com.hopu.service.DjtfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DjtfServiceImpl implements DjtfService {
   @Autowired
   private DjtfMapper djtfMapper;


    @Override
    public List<Djtf> findAllDjtf() {
        return djtfMapper.findAllDjtf();
    }

    @Override
    public int tf(int mid, Double tyzj, int eid, long time, String mremark) {
        return djtfMapper.tf(mid,tyzj,eid,time,mremark);
    }
}
